package com.hue.gulimail.gulimailorder.feign;

import com.hue.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 姚凤桥
 * @Date 2022/1/21 9:39
 * @Description:
 */
@FeignClient("gulimail-product")
public interface ProductFeignService {
    /**
     * 根据sku_id获取一个SkuInfo
     */
    @GetMapping("/gulimailproduct/skuinfo/getBySkuId/{skuId}")
    R getBySkuId(@PathVariable("skuId") Long skuId);
}
